package com.itheima2;


import java.io.*;

public class Work08 {
    public static void main(String[] args) throws IOException {
        FileInputStream  fis  =
                new FileInputStream("D:\\itcast\\窗里窗外.txt");
        FileOutputStream fos =
                new FileOutputStream("D:\\itcast2\\窗里窗外.txt");
        int by;
        while ((by=fis.read())!=-1){
            fos.write(by);
        }
        fis.close();
        fos.close();

    }
}
